package User;

import java.util.HashMap;

public class Client {
    private int ID;
    private String name;
    private String rank;
    private String date;
    private int consume;
    private String phone;
    private String email;

    //将名字和ID输入进入哈希表 key：名字，value：ID
    private HashMap<String, Integer> getClient_num(String name,int ID){
        HashMap<String, Integer> client_num = new HashMap<>();
        client_num.put(name,ID);
        return client_num;
    }


    public Client() {
    }

    public Client(int ID, String name, String date, String rank, int consume, String phone, String email) {
        this.ID = ID;
        this.name = name;
        this.date = date;
        this.rank = rank;
        this.consume = consume;
        this.phone = phone;
        this.email = email;
    }

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRank() {
        return rank;
    }

    public void setRank(String rank) {
        this.rank = rank;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public int getConsume() {
        return consume;
    }

    public void setConsume(int consume) {
        this.consume = consume;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }



}
